<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head profile="http://selenium-ide.openqa.org/profiles/test-case">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="selenium.base" href="" />
<title>Test_SNF_PRL_20_ExpandAllCollapseAll</title>
</head>
<body>
<table cellpadding="1" cellspacing="1" border="1">
<thead>
<tr><td rowspan="1" colspan="3">Test_SNF_PRL_20_ExpandAllCollapseAll</td></tr>
</thead><tbody>
<tr>
	<td>open</td>
	<td>/portal/classic/</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-CollapseAll-</td>
	<td></td>
</tr>
<tr>
	<td>windowMaximize</td>
	<td></td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>link=Sign in</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>username</td>
	<td></td>
</tr>
<tr>
	<td>type</td>
	<td>username</td>
	<td>root</td>
</tr>
<tr>
	<td>type</td>
	<td>password</td>
	<td>gtn</td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>//div[@id='UIPortalLoginFormAction']</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=SiteMap</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>css=div.ExpandIcon.ClearFix &gt; a.NodeIcon.DefaultPageIcon</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>--Collapse SiteMap Tree</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>//div[contains(text(),'Collapse All')]</td>
	<td></td>
</tr>
<tr>
	<td>click</td>
	<td>//div[contains(text(),'Collapse All')]</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify Application Manager disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyNotVisible</td>
	<td>//div[@id='UISiteMap']//a[text()='Application Registry']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify Pages Manager disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyNotVisible</td>
	<td>//div[@id='UISiteMap']//a[text()='Page Management']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify New Staff disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyNotVisible</td>
	<td>//div[@id='UISiteMap']//a[text()='New Staff']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify Users and groups management&nbsp;&nbsp;disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyElementNotPresent</td>
	<td>//div[@id='UISiteMap']//a[text()='Users and Groups Manager']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify Blog disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyNotVisible</td>
	<td>//div[@id='UISiteMap']//a[text()='Blog']</td>
	<td></td>
</tr>
<tr>
	<td>echo</td>
	<td>-- verify Fedora disappear</td>
	<td></td>
</tr>
<tr>
	<td>verifyNotVisible</td>
	<td>//div[@id='UISiteMap']//a[text()='Fedora']</td>
	<td></td>
</tr>
<tr>
	<td>waitForElementPresent</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
<tr>
	<td>clickAndWait</td>
	<td>link=Sign out</td>
	<td></td>
</tr>
</tbody></table>
</body>
</html>
